package main

import (
	"fmt"
	"gitee.com/venki/go_study_accumulate/go_code/20211111/client"
	"gitee.com/venki/go_study_accumulate/go_code/20211111/service"
	"time"
)

var (
	welcome  string
	datetime string
)

const (
	AUTHOR string = "venki.chen"
)

func init() {
	now := time.Now()
	datetime = now.Format("2006-01-02 15:04:05")
	welcome = AUTHOR + "欢迎你来到今日的golang语言学习，现在的时间是：" + datetime
}

func main() {
	fmt.Println(welcome)
	fmt.Println("-----------------")
	// key.AccessKey()
	service.AccessService()
	client.AccessClient()
}
